import http from '@/utils/http';

// 企业联系方式类型字典
export const sysContactType = () => http.get(`/api/lc_public/LoadOrgNameQueryNo?type=1&typeStr=sys_contact_type`);
// 企业附件类型字典
export const sysEnterpriseAttachmentType = () => http.get(`/api/lc_public/LoadOrgNameQueryNo?type=1&typeStr=sys_enterprise_attachment_type`);
// 企业类型字典
export const sysEnterpriseType = () => http.get(`/api/lc_public/LoadOrgNameQueryNo`,{params:{type:1,typeStr:'sys_enterprise_type'}});
// 县区区域字典
export const sysRegion = () => http.get(`/api/lc_public/LoadOrgNameQueryNo`,{params:{type:2,typeStr:3713}});
// 商品附件类型字典
export const sysProductAttachmentType = () => http.get(`/api/lc_public/LoadOrgNameQueryNo`,{params:{type:1,typeStr:'sys_product_attachment_type'}});
// 商品类型字典
export const sysProductType = () => http.get(`/api/lc_public/LoadOrgNameQueryNo`,{params:{type:1,typeStr:'sys_product_type'}});
// 展会类型获取
export const DWTypeGroupBy = () => http.get(`/api/lc_exhibitions_infos/DWTypeGroupBy`);
// 金融类型字典
export const lcFinancialProductInfosDWTypeGroupBy = () => http.get(`/api/lc_financial_product_infos/DWTypeGroupBy`);
// 金融银行字典
export const lcFinancialProductInfosDWOrgNameGroupBy = () => http.get(`/api/lc_financial_product_infos/DWOrg_nameGroupBy`);
// 新闻类型字典
export const lcNewsAnnouncementInfosDWTypeGroupBy = () => http.get(`/api/lc_news_announcement_infos/DWTypeGroupBy`);
// 供需类型字典
export const sysBusinessSupplyDemand = () => http.get(`/api/lc_public/LoadOrgNameQueryNo`,{params:{type:1,typeStr:'sys_business_supply_demand'}});

// 驾驶舱地区区域字典
export const queryRegionList = (params) => http.get(`/api/Web/LoadRegion`, { params });
// 驾驶舱地图JSON数据获取
export const cloudeyeGetMap = (mapKey) => http.get(`/api/Web/GetChinaMapData?areaCode=${mapKey}`);
// 商品类型子集数据
export const cloudeyeProductsByType = (params) => http.get(`/api/Web/LoadDimProduct`, { params });
// 产能分析数据获取
export const cloudeyeSuppliersByType = (params) => http.get(`/api/Web/LoadCapacity`, { params });
// 价格明细数据获取
export const priceTodaychange = (params) => http.get(`/api/Web/LoadPriceInfo`, { params });
// 价格趋势数据获取
export const priceMonthlytrend = (params) => http.get(`/api/Web/LoadPriceQuShi`, { params });
// 市场供需分析数据获取
export const priceMonthlychange = (params) => http.get(`/api/Web/QuerySupermarkSupply`, { params });
// 地图数据获取
export const plantingRegions = (params) => http.get(`/api/Web/LoadZhongZhiRegion`, { params });
